<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>登录</title>
 <!-- Bootstrap -->
    <link href="<c:url value='/resources/bootstrap/bootstrap/css/bootstrap.min.css'/>" rel="stylesheet" media="screen">
    <link href="<c:url value='/resources/bootstrap/bootstrap/css/bootstrap-responsive.min.css'/>" rel="stylesheet" media="screen">
    <link href="<c:url value='/resources/bootstrap/assets/styles.css'/>" rel="stylesheet" media="screen">
    <script type="text/javascript">
    
      var basePath = "<c:url value='/'/>";
    </script>
  </head>
  <body id="login">
    <div class="container">

      <form id="loginForm" action = "<c:url value='/j_spring_security_check'/>" class="form-signin" method="post" style="margin-top:100px;">
        <h2 class="form-signin-heading">请登陆</h2>
        <input type="text" name="userName" id="name" class="input-block-level" placeholder="用户名">
        <input type="password" id="password" name="password" class="input-block-level" placeholder="密码">
        <label class="checkbox">
          <input type="checkbox"  name="_spring_security_remember_me"> 记住我（2周之内）
        </label>
        <button class="btn btn-large btn-primary" type="submit">登陆</button>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         <button class="btn btn-success btn-large" id="_reg_user">注册</button>
      </form>

    </div> <!-- /container -->
    <script src="<c:url value='/resources/bootstrap/vendors/jquery-1.9.1.min.js'/>"></script>
    <script src="<c:url value='/resources/bootstrap/bootstrap/js/bootstrap.min.js'/>"></script>
    <script src="<c:url value='/resources/bootstrap/vendors/jquery-validation/dist/jquery.validate.min.js'/>"></script>
    <script src="<c:url value='/resources/js/login/login.js'/>"></script>
</body>
</html>
